
"""
匿名函数：
    lambda表达式: 表达式名称 参数1，参数2.。。：返回值（也可以是算法）
"""
l = lambda x: x * x

print(l(9))

list1 = ["赵本山", "成龙", "范围"]
list2 = [32, 54,26]
list3 = ["中央一套", "北京卫视", "湖南卫视"]
# list()本身就会取对象的迭代器并且列表化
print(list(zip(list1, list2, list3)))


a = 188
# print(locals())

def fuc():
    b = 23
    c = 23
    d = "tututu"
    print("\nzkk==>locals:", locals())

fuc()


cc = 12
print("\nzkk==>globals:", globals())  # globals 看到的是全局的作用域内容